package com.cskaoyan.bean.po;

import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

/**
 * @author: 陈慧颖
 * @time: Created by chy on 2022/6/5 21:12
 */

@Data
public class TopicUpdatePo {

    private Integer id;
    private String title;
    private String subtitle;
    private Integer price;
    private String readCount;
    private String picUrl;
    private Integer sortOrder;
    // 数据库里是 varchar;
    /**
     * 在老师代码里是 客户端传递 [] ; 而本地客户端是 "[]"
     */
    private String goods;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date addTime;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;
    private Boolean deleted;
    private String content;
}
